package org.anyin.gitee.cloud.center.upms.service.dto;

import com.google.common.collect.Lists;
import lombok.Data;

import java.util.List;

@Data
public class SysMenuNodeDTO {

    private String value;

    private String label;

    private String parent;

    private List<SysMenuNodeDTO> children = Lists.newArrayList();

    public void addChild(SysMenuNodeDTO child){
        this.children.add(child);
    }


}
